package unit3;

public class Staff {
    String id;
    String name;
    private String sex;
    int age;
    String dept;
    private double salary;

    // 全参数的的构造方法、
    public Staff(String id, String name, String sex, int age, String dept, double salary) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.dept = dept;
        this.salary = salary;
    }
}
